package com.qiaofang.collectmanage.stub.request;

import com.qiaofang.collectmanage.stub.bean.SearchHouseAgentPostDTO;
import com.qiaofang.common.model.page.PageDTO;
import com.qiaofang.common.request.CommonRequest;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

public class SearchHouseAgentPageRequest extends CommonRequest {

    @NotNull(message = "分页对象不能为空")
    @Valid
    private PageDTO pageDTO;

    private SearchHouseAgentPostDTO searchHouseAgentPostDTO;

    public SearchHouseAgentPostDTO getSearchHouseAgentPostDTO() {
        return searchHouseAgentPostDTO;
    }

    public void setSearchHouseAgentPostDTO(SearchHouseAgentPostDTO searchHouseAgentPostDTO) {
        this.searchHouseAgentPostDTO = searchHouseAgentPostDTO;
    }

    public PageDTO getPageDTO() {
        return pageDTO;
    }

    public void setPageDTO(PageDTO pageDTO) {
        this.pageDTO = pageDTO;
    }
}
